﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Solution
{
    public interface ISimpleEntity
    {
        #region Properties

        Guid Id
        {
            get; set;
        }

        string Name
        {
            get; set;
        }

        #endregion Properties
    }

    public class SimpleEntity : ISimpleEntity
    {
        #region 构造

        public SimpleEntity()
        {
        }

        public SimpleEntity(Guid id, string name)
        {
            this.Id = id;
            this.Name = name;
        }

        #endregion 构造

        #region 公共属性

        public Guid Id
        {
            get; set;
        }

        public string Name
        {
            get; set;
        }

        #endregion 公共属性
    }
}